package com.HomeWork12.work3;

public abstract class Food {
    public abstract String show();
}

class Bone extends Food {
    private String name;

    public Bone(String name) {
        this.name = name;
    }

    @Override
    public String show() {
        return this.name;
    }
}

class Fish extends Food {
    private String name;

    public Fish(String name) {
        this.name = name;
    }

    @Override
    public String show() {
        return this.name;
    }
}